package ganga.custodian;

import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;

/**
 * @author Apocrypha
 * @version 1.2
 * @created 04-03-2013 20:02:56
 */

public class Preferences {
	private SharedPreferences inner;
	public Preferences(Context context){
		inner = PreferenceManager.getDefaultSharedPreferences(context);
	}
	public boolean stayScreenOn(){
		return inner.getBoolean("DISPLAY_ON", false);
	}
	public boolean autoStart(){
		return inner.getBoolean("AUTOSTART", false);
	}

}
